package org.parademo.utilities;

import org.parademo.model.ProposalEntity;
import org.parademo.model.VoteEntity;

import java.util.ArrayList;
import java.util.List;

/**
 * User: Ajit Skanda
 */
public class UserUtilities {

    public void castVote(VoteEntity vote){}

    public void withdrawVote(Long voteId){}

    public ProposalEntity createProposal(ProposalEntity proposal) {
        return proposal;
    }

    public ProposalEntity updateProposal(ProposalEntity proposal) {
        return proposal;
    }

    public List<ProposalEntity> getProposalsForUser(String userName){
        return new ArrayList<ProposalEntity>();
    }


}
